<include file="public@header"/>
</head>
<body>
<div class="wb-container">
  <style type='text/css'>
  	.wb-container{ padding:10px 15px;}
    .wb-container *{ box-sizing: border-box; margin:0; padding:0;}
	.wb-container a{ text-decoration:none;}
    .panel-heading{ padding:10px 15px;}
	.panel-heading span{ display:inline-block; width:2px; background:#15a589; height:15px; position:relative; top:3px; left:-3px;}
    .media-body{    display: table-cell; vertical-align: top; padding-left: 10px;}
    .feed-activity-list {
        width: 100%;
        overflow: hidden;
    }
    .feed-element {
        float: left;
        width: 19%;
        height: 100px;
        margin: 0 0.5%;
        margin-bottom: 20px;
        border: 1px solid #ddd;
		border-radius:4px;
        padding: 20px;
    }
    .feed-element::after {
        display: none
    }
    .feed-element .title {
        font-size: 14px;
        height: 24px;
        line-height: 24px;
        vertical-align: bottom;
        color: #333;
        font-weight: bold;
		overflow:hidden;
		display:block;
    }
    .feed-element img.img-circle,
    .dropdown-messages-box img.img-circle {
        float: left;
        width: 60px;
        height: 60px;
        border-radius: 4px;
    }
    .media-body {
        margin-top: 3px;
    }
    .text-muted {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
	</style>
  <div class="page-content" style="background:#fff;">
    <div class='panel panel-default' style='border:none;'>
    
      <foreach name="adminmodulemenu" item="menu" key="k">
      <div class="panel-heading" style='background:none;border:0;'><span></span> {$menu['name']}</div>
      <div class="feed-activity-list">
      <php>if(isset($menu['menu2'])){</php>
      <php>foreach($menu['menu2'] as $k2 => $menu2){</php>
      <php>if($menu2['index_num'] != "自定义扩展"){</php>
	  <php>
		   $menu_url2 = $menu2['menu_url'] ? $menu2['menu_url']."?backOk=1" : "/portal/admin_article/index/category/".$menu2['id'].".html?backOk=1";
	  </php>
      <a class="feed-element" href="{$menu_url2}" data-name="{$menu2['name']}">
        <span class="pull-left">
          <img src="/plugins/modulepara/configdata/images/app/app{$k}.jpg" class="img-circle" alt="image" onerror="this.src='/plugins/modulepara/configdata/images/app/app.jpg'">
        </span>
        <div class="media-body ">
          <span class="title"><span class="fl">{$menu2['name']}</span></span>
          <small class="text-muted"><notempty name="menu2['description']">{$menu2['description']}<else/>{$menu2['name']}</notempty></small>
        </div>
      </a>
      <php>}</php>
      <php>}</php>
      <php>}</php>
      </div>
      </foreach>
        
    </div>
  </div>
</div>
</body>
</html>